package com.study.genericity_method;

public class Test {
    public static void main(String[] args) {
        //目标：认识泛型方法
        //需求：要求接收任意对象数组
        String[] names ={"谢霆锋","陈羽凡","王宝强","贾乃亮"};
        printArray(names);
    }

    private static <T> T[] printArray(T[] array) {
        return array;
    }
}
